package com.dt.app.api.test.service;

import com.dt.app.modules.test.entities.SchoolCourseSelection;
import com.dt.app.modules.test.vo.SchoolCourseSelectionBean;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dt.app.modules.test.vo.SchoolCourseSelectionCount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 * @author 鸿源塔基
 * @since 2024-02-22
 */
public interface ISchoolCourseSelectionService extends IService<SchoolCourseSelection> {
    public SchoolCourseSelection getEntity(SchoolCourseSelectionBean bean);
    public SchoolCourseSelectionBean getBean(SchoolCourseSelection entity);
    @ApiModelProperty(value = "根据班级姓名获取实体")
    public List<SchoolCourseSelection> getEntitys(String className, String name);
    public List<SchoolCourseSelectionBean> getBeans(String grade, String course);
    public List<SchoolCourseSelection> getList(String grade, String course);
    @ApiModelProperty(value = "根据课程获取数量")
    public int getCount(String grade,String course);
    @ApiModelProperty(value = "获取数量")
    public List<SchoolCourseSelectionCount> getCounts();
    @ApiModelProperty(value = "总共报名人数")
    public int getCountTotal();
}
